package com.caiheng.api.entity.titlemenu;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

import java.io.Serializable;

@Data
@TableName(value = "title_menu")
public class TitleMenu implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String titleName;

    private Integer isHot;

    private Integer sort;

    private Integer state;

    private Integer isShowFirst;

    private String linkLogo;

    private String linkUrl;

    /**
     *  点击事件的
     */
    private String bindTap;

    private String categoryType;

    private Integer productTypeId;

    private String menuType;

    private Integer isDefault;

    private Integer isMoreLink;

    private Integer isBuild;

    /**
     *  判断角色的权限  如果不为空 比如mer  只有商家才会显示
     */
    private String purviewType;

    /**
     *  徽标
     */
    @TableField(exist = false)
    private Long badge;

}
